﻿function CheckValue()
{
    var realmname = document.getElementById("ctl00_ContentPlaceHolder1_txtRealmName");
    if (realmname.value.length == 0)
    {
        alert('请输入个性域名内容');
        realmname.focus();
        return false;
    }
    else
    {
        if (!is_zimushuzi(realmname.value))
        {
            alert('个性域名格式不正确');
            realmname.focus();
            return false;
        }
    }
    return true;
}